package cn.wp.product.mapper;

import cn.wp.basic.mapper.BaseMapper;
import cn.wp.product.domain.Product;

import java.util.List;

public interface ProductMapper extends BaseMapper<Product>{
    /**
     * 批量上架
     * @param ids
     */
    void onSale(List<Long> ids);

    /**
     * 批量下架
     * @param ids
     */
    void offSale(List<Long> ids);
}
